<!DOCTYPE html>
<html>

<head>
    <meta name="screen-orientation" content="portrait" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" />
    <title>民生比赛信息填写</title>
    <link rel="stylesheet" type="text/css" href="/static/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/wall.css" />
    <style type="text/css">
        body,
        html {
            width: 100%;
            height: 100%;
        }

        .result {
            position: absolute;
            height: 320px;
            width: 100%;
            left: 0;
            top: 50%;
            margin-top: -160px;
            text-align: center;
            padding: 10px;
            display: none;
        }

        .result span {
            display: inline-block;
            font-size: 25px;
            width: 150px;
            background: #fff;
            line-height: 30px;
            color: #000;
            margin: 5px;
            border-radius: 10px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
            padding: 10px 0;
        }

        button,
        input,
        optgroup,
        select,
        textarea {
            color: inherit;
            font: inherit;
            margin: 0;
            border: none;
        }

        button {
            overflow: visible;
        }

        button,
        select {
            text-transform: none;
        }

        button,
        html input[type='button'],
        input[type='reset'],
        input[type='submit'] {
            -webkit-appearance: button;
            cursor: pointer;
        }

        .pure-button {
            display: inline-block;
            zoom: 1;
            line-height: normal;
            white-space: nowrap;
            vertical-align: middle;
            text-align: center;
            cursor: pointer;
            -webkit-user-drag: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        .pure-button {
            font-family: inherit;
            font-size: 100%;
            padding: 0.5em 1em;
            color: #444;
            color: rgba(0, 0, 0, 0.8);
            border: 0 rgba(0, 0, 0, 0);
            background-color: #e6e6e6;
            text-decoration: none;
            border-radius: 2px;
        }

        .pure-button:focus {
            outline: 0;
        }

        .pure-button-hover,
        .pure-button:hover,
        .pure-button:focus {
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);
            background-image: -webkit-gradient(linear,
                    0 0,
                    0 100%,
                    from(transparent),
                    color-stop(40%, rgba(0, 0, 0, 0.05)),
                    to(rgba(0, 0, 0, 0.1)));
            background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));
            background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.1));
            background-image: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));
            background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.1));
        }

        .button-success,
        .button-error,
        .button-warning,
        .button-secondary {
            color: white;
            border-radius: 4px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        }

        .button-success {
            background: rgb(28, 184, 65);
        }

        .button-error {
            background: rgb(202, 60, 60);
        }

        .button-warning {
            background: rgb(223, 117, 20);
        }

        .button-secondary {
            background: rgb(66, 184, 221);
        }

        .tools {
            position: absolute;
            bottom: 20px;
            right: 20px;
            text-align: center;
        }

        .tools .pure-button {
            display: inline-block;
            margin: 5px;
            padding: 10px 0;
            text-align: center;
            width: 50px;
        }

        .mask {
            -webkit-filter: blur(5px);
            filter: blur(5px);
        }

        #main {
            -webkit-transition: all 1s;
            transition: all 1s;
        }

        .result-btn {
            margin-top: 20px;
            text-align: right;
            margin-right: 30px;
            text-decoration: none;
            color: white;
        }

        .input__inner::placeholder {
          color: #c9ccd1;
        }

        .input__inner {
            display: inline-block;
            width: 200px;
            flex-grow: 1;
            -webkit-appearance: none;
            color: #f5f7fa;
            font-size: inherit;
            height: 32px;
            line-height: 32px;
            padding: 0 15px;
            outline: none;
            border: none;
            background: none;
            box-sizing: border-box;
            box-shadow: 0 0 0 1px #dcdfe6 inset;
            border-radius: 4px;
        }

        input:focus {
            box-shadow: 0 0 0 1px #78b2ec inset;
        }

        label {
          color: #dcdfe6;
        }

        .input_button {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
            height: 32px;
            white-space: nowrap;
            cursor: pointer;
            color: #ffffff;
            text-align: center;
            box-sizing: border-box;
            outline: none;
            transition: .1s;
            font-weight: 500;
            user-select: none;
            vertical-align: middle;
            -webkit-appearance: none;
            background-color: #409eff;
            border: 1px soli #dcdfe6;
            ;
            padding: 8px 15px;
            font-size: 16px;
            border-radius: 2px;
        }
    </style>
</head>

<body>
    <div id="main" class="wall">
        <div style="height: 10%"></div>
        <div style="text-align: center">
            <form action="{% url 'user:submit' %}" method="post">
                <br />
                <div style="padding-left: 50px">
                    <label for="user_name">姓名：</label>
                    <input class="input__inner" type="text" name="user_name" id="user_name" placeholder="请输入姓名" />
                </div>
                <br />
                <div>
                    <label for="password">嘉宾验证码：</label>
                    <input class="input__inner" type="password" name="password" id="password" placeholder="请输入嘉宾验证码(可选)" />
                </div>
                <br />
                <input class="input_button" type="submit" value="确定" />
            </form>
        </div>
    </div>
    <div id="result" class="result"></div>
    <div id="tools" class="tools"></div>
</body>

</html>